projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48a1e4
)
Broadway: Fix handling of debug nodes
author
Alexander Larsson
<alexl@redhat.com>
Wed, 26 Aug 2020 12:01:00 +0000
(14:01 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Wed, 26 Aug 2020 12:01:00 +0000
(14:01 +0200)
The debug nodes have id BROADWAY_NODE_DEBUG, which happens to be "12".
So, don't hardcode the wrong number "14".
gdk/broadway/broadway.js
patch
|
blob
|
history
diff --git
a/gdk/broadway/broadway.js
b/gdk/broadway/broadway.js
index 21554546c2a1fff58c849a7450303345b2e6be40..6544774dc42758064828ccbe7304986a6a650367 100644
(file)
--- a/
gdk/broadway/broadway.js
+++ b/
gdk/broadway/broadway.js
@@
-809,7
+809,7
@@
TransformNodes.prototype.insertNode = function(parent, previousSibling, is_tople
}
break;
- case
14: // DEBUG
+ case
BROADWAY_NODE_DEBUG:
{
var str = this.decode_string();
var div = this.createDiv(id);